package com.example.interpreter;

import java.util.Map;

public class AlertRuleInterpreter {

    private String rule;

    public AlertRuleInterpreter(String rule) {
        this.rule = rule;
    }

    public boolean interpret(Map<String, Integer> stat) {
        return new OrExpression(rule).interpret(stat);
    }
}
